#include <stdio.h>
#include <string.h>
int main() {
	char str[10] = "abc";
	char *p_ch = NULL;
	int size = 0;
	size = strlen(str);
	printf("size是%d\n",size);
	p_ch = strcat(str,"def");
	printf("%s\n",p_ch);
	printf("%s\n",str);
	p_ch = strncat(str,"sldfjsldjfsd",3);
	printf("%s\n",p_ch);
	printf("%s\n",str);
	return 0;
}
